<template>
  <div class="child">
    <p>我是helloWorld的子组件</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      
    }
  },
  created() {
    console.log('666');
  }
}
</script>

<style>
  .child {
    width: 200px;
    height: 100px;
    background-color: #f0f0f0;
    border: 1px solid red;
  }
</style>